package com.monster.service;

import com.monster.dao.UserFocusDao;
import com.monster.dao.UserFocusDaoImpl;

public class UserFocusServiceImpl implements UserFocusService {
    private UserFocusDao userFocusDao = new UserFocusDaoImpl();
    @Override
    public int getFocusCountByID(Long userId, int focusType, Long focusId) {
        return userFocusDao.getFocusCountByID(userId,focusType,focusId);
    }

    @Override
    public int addFocusByID(Long userId, int focusType, Long focusId) {
        return userFocusDao.addFocusByID(focusId, focusType,focusId);
    }

    @Override
    public int deleteFocusById(Long userId, int focusType, Long focusId) {
        return userFocusDao.deleteFocusById(userId,focusType,focusId);
    }
}
